<%@ taglib uri="http://www.longtop.com/intelliweb" prefix="e"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Insert title here</title>
	</head>
	<e:View id="eView" designProperty="width: 1024; height: 768">
		<script type="text/javascript" src="../../scripts/global.js"></script>
		<script type="text/javascript" src="../../scripts/skin.js"></script>
		<script type="text/javascript">SkinUtil.getModuleSkin();</script>
		<div id="Invisual Controls" style="min-height: 40px; background-color: LemonChiffon;">
			<e:Dataset id="Dataset_Log" datasetDefinition="DatasetDefinition.dsd" datasetRef="Dataset_Log" pageSize="10" readOnly="true" loadDataCommand="Command_Load">
				<e:Field name="moduleId" dataType="string" label="业务模块" maxLength="40" dropDown="ListDropDown__moduleId"/>
				<e:Field name="userId" dataType="string" label="操作员代码" maxLength="40" />
				<e:Field name="userName" dataType="string" label="操作员名称" maxLength="40" />
				<e:Field name="ipAddr" dataType="string" label="IP地址" maxLength="15" />
				<e:Field name="logInfo" dataType="string" label="日志内容" maxLength="255" />
				<e:Field name="logTime" dataType="timestamp" label="发生时间" maxLength="23" />
				<e:Field name="bizId" dataType="string" label="业务模块" maxLength="40" />
			</e:Dataset>
			
			<e:Command id="Command_Load" submitForm="true" submitFormScope="input-text,input-hidden,input-password,input-checkbox,input-radio,select,textarea" showHintInfoOnSuccess="false" method="loadLog" action="com.longtop.framework.sys.log.web.LogAction">
				<e:DatasetInfo name="DatasetInfo1" dataset="Dataset_Log" alwayRefreshClient="true" submitType="none"></e:DatasetInfo>
			</e:Command>
			<e:Command id="Command_Query" submitForm="true" submitFormScope="input-text,input-hidden,input-password,input-checkbox,input-radio,select,textarea" showHintInfoOnSuccess="false" method="searchLog" action="com.longtop.framework.sys.log.web.LogAction">
				<e:DatasetInfo name="DatasetInfo1" dataset="Dataset_Log" alwayRefreshClient="true" submitType="none"></e:DatasetInfo>
			</e:Command>
			<e:ListDropDown id="ListDropDown__moduleId" fixed="true" autoDropDown="true"></e:ListDropDown>
		</div>
		<body>
			<e:Page id="ePage" action="com.longtop.framework.sys.log.web.LogAction" style="min-height: 80px; width: 100%; height: 100%;">
				<table style="width: 100%; height: 100%;" border="0" cellpadding="2" cellspacing="2" width="100%">
					<tbody>
						<tr>
							<td width="300" height="100%" valign="top" align="center">
								<e:Panel id="Panel1" style="width: 100%; height: 100%" designProperty="position: absolute; left: -90px; top: 16px; width: 240px; height: 160px" caption="操作日志查询" captionIcon="/images/query_win.gif" captionStyle="color:#888888" allowFold="true">
									<table style="text-align: left; width: 100%;" border="0" cellpadding="3" cellspacing="3" designProperty="position: absolute; left: -182px; top: 22px; text-align: left; width: 100%;" width="100%" align="center">
										<tbody>
											<tr>
												<td width="30%" align="left" nowrap="nowrap"><e:FieldLabel id="FieldLabel1" dataset="Dataset_Log" style="font-size: 9pt; font-family: Verdana, '宋体'" field="moduleId"
													designProperty="position: absolute; left: -211px; top: 51px; height: 20px; width: 100px; font-size: 9pt; font-family: Verdana, '宋体'"></e:FieldLabel></td>
												<td><e:Text id="Text_moduleId"  dropDown="ListDropDown__moduleId" style="width: 150px" designProperty="position: absolute; left: -170px; top: -84px; height: 24px; font-size: 9pt; font-family: Verdana, '宋体'"></e:Text></td>
											</tr>
											<tr>
												<td align="left" nowrap="nowrap"><e:FieldLabel id="FieldLabel5" dataset="Dataset_Log" style="font-size: 9pt; font-family: Verdana, '宋体'" field="ipAddr" designProperty="position: absolute; left: -280px; top: 213px; height: 20px; width: 100px; font-size: 9pt; font-family: Verdana, '宋体'"></e:FieldLabel></td>
												<td><e:Text id="Text_IpAddr" style="width: 150px" designProperty="position: absolute; left: -245px; top: 89px; height: 24px; font-size: 9pt; font-family: Verdana, '宋体'"></e:Text></td>
											</tr>
											<tr>
												<td align="left" nowrap="nowrap"><e:Label id="Label1" style="font-size: 9pt; font-family: Verdana, '宋体'" caption="发生时间(从)" designProperty="position: absolute; left: -214px; top: 123px; height: 20px; width: 100px; font-size: 9pt; font-family: Verdana, '宋体'"></e:Label></td>
												<td><e:Text id="Text_logTime1" style="width: 150px" designProperty="position: absolute; left: -264px; top: 121px; height: 24px; font-size: 9pt; font-family: Verdana, '宋体'" dropDown="DatePicker_LogTime"></e:Text></td>
											</tr>
											<tr>
												<td align="left" nowrap="nowrap"><e:Label id="Label2" style="font-size: 9pt; font-family: Verdana, '宋体'" caption="发生时间(到)" designProperty="position: absolute; left: -222px; top: 163px; height: 20px; width: 100px; font-size: 9pt; font-family: Verdana, '宋体'"></e:Label></td>
												<td><e:Text id="Text_logTime2" style="width: 150px" designProperty="position: absolute; left: -324px; top: 164px; height: 24px; font-size: 9pt; font-family: Verdana, '宋体'" dropDown="DatePicker_LogTime"></e:Text></td>
											</tr>
											<tr>
												<td align="left" nowrap="nowrap"><e:Label id="Label3" style="font-size: 9pt; font-family: Verdana, '宋体'" caption="日志信息" designProperty="position: absolute; left: -286px; top: 203px; height: 20px; width: 100px; font-size: 9pt; font-family: Verdana, '宋体'"></e:Label></td>
												<td><e:Text id="Text_LogInfo" style="width: 150px" designProperty="position: absolute; left: -136px; top: -8px; height: 24px; font-size: 9pt; font-family: Verdana, '宋体'"></e:Text></td>
											</tr>
											<tr>
												<td></td>
												<td><e:Button id="Button1" style="height: 20px; font-size: 9pt; font-family: Verdana, '宋体'; width: 60px" caption="查询" designProperty="position: absolute; left: -176px; top: 20px; height: 28px; font-size: 9pt; font-family: Verdana, '宋体'" icon="/images/query.gif" command="Command_Query"></e:Button></td>
											</tr>
										</tbody>
									</table>
								</e:Panel>
							</td>
		
							<td valign="top" width="100%">
								<e:Panel id="Panel_Result" style="width: 100%; height: 100%" captionStyle="color:#888888" caption="查询结果列表" captionIcon="/images/list_win.gif" showArrowButton="false">
									<table style="text-align: left; width: 100%;" border="0" cellpadding="3" cellspacing="3" designProperty="position: absolute; left: -13px; top: 35px; text-align: left; width: 100%;" width="100%" align="center">
										<tbody>
											<tr>
												<td>
													<table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
														<tr>
															<td align="left" width="99%"><e:PageNavigator id="PageNavigator_Log" dataset="Dataset_Log" showRecordNum="true"></e:PageNavigator></td>
														</tr>
													</table>
												</td>
											</tr>
											<tr>
												<td colspan="2">
													<e:Grid id="Grid_Log" style="width: 100%; height: 100%;" showIndex="true" dataset="Dataset_Log">
													</e:Grid>
												</td>
			
											</tr>
										</tbody>
									</table>
								</e:Panel>
							</td>
						</tr>
					</tbody>
				</table>
			</e:Page>
		</body>
	</e:View>
</html>
